package com.woowc.cn.config.base;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.Collection;

/**
 * @version V1.0.0
 * @ClassName: {@link BaseMapper}
 * @Description: BaseMapper
 * @author: Lanzhou
 * @date: 2021/6/25 10:02
 * @Copyright:2020 All rights reserved.
 */
public interface IBaseMapper<T> extends BaseMapper<T> {

    /**
     * 批量插入 仅适用于mysql
     *
     * @param entityList 实体列表
     * @return 影响行数
     */
    Integer batchInsert(Collection<T> entityList);

}
